home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / appkit / ChoosePrinter.h < prev    next >
Text File  |  1992-01-30  |  2KB  |  62 lines

  1. /*
  2.     ChoosePrinter.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "Panel.h"
  8.  
  9. /* Tags for Controls in the ChoosePrinter panel */
  10.  
  11. #define NX_CPPRINTERNAMEFIELD        110
  12. #define NX_CPPRINTERTYPEFIELD        111
  13. #define NX_CPPRINTERNOTEFIELD        112
  14. #define NX_CPPRINTERNAMETITLE        113
  15. #define NX_CPPRINTERTYPETITLE        114
  16. #define NX_CPPRINTERNOTETITLE        115
  17. #define NX_CPTITLEFIELD            116
  18. #define NX_CPCANCELBUTTON        NX_CANCELTAG
  19. #define NX_CPOKBUTTON            NX_OKTAG
  20. #define NX_CPNAMETITLE            119
  21. #define NX_CPTYPETITLE            120
  22. #define NX_CPHOSTTITLE            121
  23. #define NX_CPPORTTITLE            122
  24. #define NX_CPICONBUTTON            123
  25.  
  26. @interface ChoosePrinter : Panel
  27. {
  28.     id                  appIcon;
  29.     id                  ok;
  30.     id                  cancel;
  31.     id                  border;
  32.     int                 exitTag;
  33.     id                  name;
  34.     id                  type;
  35.     id                  note;
  36.     const char        **_lastValues;
  37.     id                  accessoryView;
  38.     unsigned int        _reservedChoosePrinter1;
  39.     unsigned int        _reservedChoosePrinter2;
  40.     unsigned int        _reservedChoosePrinter3;
  41.     unsigned int        _reservedChoosePrinter4;
  42. }
  43.  
  44. + new;
  45. + newContent:(const NXRect *)contentRect style:(int)aStyle backing:(int)bufferingType buttonMask:(int)mask defer:(BOOL)flag;
  46.  
  47. + allocFromZone:(NXZone *)zone;
  48. + alloc;
  49.  
  50. - free;
  51. - setAccessoryView:aView;
  52. - accessoryView;
  53. - pickedButton:sender;
  54. - pickedList:sender;
  55. - readPrintInfo:(BOOL) printerFlag;
  56. - writePrintInfo:(BOOL) printerFlag;
  57. - (int)runModal;
  58. - (int) runModalFax;
  59. - _selectFaxByName: (const char *) faxName;
  60.  
  61. @end
  62.